Finding Perimeter Using Pythagoras Theorem